require('luaunit')

DataLoadingTest = {}
	function DataLoadingTest:setUp() 
		self.a = 1
		self.c = 'c'
		self.s = 'shit.'
		print("DataLoadingTest:setUp")
	end

	function DataLoadingTest:tearDown() 
		print("DataLoadingTest:tearDown")
	end

	function DataLoadingTest:test_a()
		print("DataLoadingTest:test_a")
		assertEquals( self.a, 2 )
	end

	function DataLoadingTest:test_s()
		print("DataLoadingTest:test_s")
		assertEquals( self.s, 'shhh.' )
	end

	function DataLoadingTest:test_c()
		print("DataLoadingTest:test_c")
		assertEquals( self.c, 'c' )
	end

--end of class:DataLoadingTest 

lu = LuaUnit
--lu:setOutputType('NIL')
--lu:setOutputType('TAP')
lu:setOutputType('JUNIT')
--lu:setOutputType('TEXT')  --default
lu:setVerbosity(1)
os.exit( lu:run('DataLoadingTest') )
